package cn.ilikes.tools.nosql.jpa.configs.querys;

public class NamedQuery {

	private String name;

	private String query;

	private String lockMode;

	public NamedQuery(String name) {
		super();
		this.name = name;

	}

	public NamedQuery(String name, String query, String lockMode) {
		super();
		this.name = name;
		this.query = query;
		this.lockMode = lockMode;
	}

	public String getName() {
		return name;
	}

	public String getQuery() {
		return query;
	}

	public String getLockMode() {
		return lockMode;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public void setLockMode(String lockMode) {
		this.lockMode = lockMode;
	}

}
